package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 菜品对象 t_dish
 *
 * @author ruoyi
 * @date 2025-06-20
 */
public class TDish extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 分类 */
    @Excel(name = "分类")
    private Long categorie;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 状态：1上架，2下架 */
    @Excel(name = "状态：1上架，2下架")
    private String status;

    /** 描述 */
    @Excel(name = "描述")
    private String description;
    /** 描述 */
    @Excel(name = "规格")
    private String specs;

    /** 口味 */
    @Excel(name = "口味")
    private Long flavors;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setCategorie(Long categorie)
    {
        this.categorie = categorie;
    }

    public Long getCategorie()
    {
        return categorie;
    }

    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }

    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    public void setFlavors(Long flavors)
    {
        this.flavors = flavors;
    }

    public Long getFlavors()
    {
        return flavors;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return "TDish{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", categorie=" + categorie +
                ", image='" + image + '\'' +
                ", price=" + price +
                ", status='" + status + '\'' +
                ", description='" + description + '\'' +
                ", specs='" + specs + '\'' +
                ", flavors=" + flavors +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }

    public String getSpecs() { return specs;}

    public void setSpecs(String specs) {
        this.specs = specs;
    }

}
